<?php

class Damages_Methods_Data_Dictionary_Discount_Edit extends Damages_Methods_Data_Dictionary_Discount {

  public function __construct($obj) {
    $this->id = $obj->id;
    $this->costMin = $obj->costMin ? $obj->costMin : null;
    $this->costMax = $obj->costMax ? $obj->costMax : null;
    $this->discount = $obj->discount;
  }

}